 #ifndef __GUN_H__
#define __GUN_H__

#ifndef FRICTION_WHEEL
#define FRICTION_WHEEL
#endif 

#if defined(FRICTION_WHEEL)

#define PWM1  TIM2->CCR1//PA0
#define PWM2  TIM2->CCR2//PA1
#define PWM3  TIM9->CCR1

//#define InitFrictionWheel()     \
//        PWM1 = 1000;             \
//        PWM2 = 1000;
//#define SetFrictionWheelSpeed(x) \
//        PWM1 = x;                \
//        PWM2 = x;
#define YAW(x)                \
        PWM1 = x;                
#define PITCH(x)               \
        PWM2 = x;



#endif 

void PWM_Config(void);
 
#endif
